package com.yld.ch03;

import com.yld.ch01.PrintUtil;

public class Client {
	
	
	
	public static void main(String[] args) {
		
		
		Thread thread01 = new Thread(new ScottThread());
		
		thread01.start();
		
		
		
		new Thread(new ScottThread()).start();
		new Thread(new ScottThread()).start();
	}
	

}



class ScottThread implements Runnable{
	
	
	@Override
	public void run() {
		
		//打印1个名字
		
		PrintUtil  print = new PrintUtil();
		print.printTask();
		
	}
	
	
}
